package ru.aslanov.test;

import java.util.GregorianCalendar;
import java.util.Locale;
import java.util.TimeZone;

/**
 * @author Sergey Aslanov
 *         Created: 1/27/11 7:07 PM
 */
public class A {
    public static void main(String[] args) {
        Locale locale = new Locale("ru", "RU");
        final TimeZone tz = TimeZone.getTimeZone("Europe/Moscow");
        GregorianCalendar cal = new GregorianCalendar(tz, locale);
        System.out.println(cal.getFirstDayOfWeek());
        System.out.println(tz.getOffset(System.currentTimeMillis()));
    }
}
